home *** CD-ROM | disk | FTP | other *** search
- AXPY(3F) Last changed: 11-2-98
-
-
- NNAAMMEE
- SSAAXXPPYY, CCAAXXPPYY, DDAAXXPPYY, ZZAAXXPPYY - Adds a scalar multiple of a real or
- complex vector to another real or complex vector
-
- SSYYNNOOPPSSIISS
- Real
-
- CCAALLLL SSAAXXPPYY ((_n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _y,, _i_n_c_y))
-
- Double precision
-
- CCAALLLL DDAAXXPPYY ((_n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _y,, _i_n_c_y))
-
- Complex
-
- CCAALLLL CCAAXXPPYY ((_n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _y,, _i_n_c_y))
-
- Double complex
-
- CCAALLLL ZZAAXXPPYY ((_n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _y,, _i_n_c_y))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- SSAAXXPPYY/DDAAXXPPYY adds a scalar multiple of a real vector to another real
- vector.
-
- CCAAXXPPYY/ZZAAXXPPYY adds a scalar multiple of a complex vector to another
- complex vector.
-
- These routines perform the following vector operation:
-
- _y <- _a_l_p_h_a * _x + _y
-
- where _a_l_p_h_a is a real or complex scalar, and _x and _y are real or
- complex vectors.
-
- These routines have the following arguments:
-
- _n Integer. (input)
- Number of elements in the vectors. If _n <= 0, these
- routines return without any computation.
-
- _a_l_p_h_a Scalar. (input)
- SSAAXXPPYY: Real.
- DDAAXXPPYY: Double precision.
- CCAAXXPPYY: Complex.
- ZZAAXXPPYY: Double complex.
- If _a_l_p_h_a = 0 these routines return without any computation.
-
- _x Array of dimension (_n-1) * |_i_n_c_x| + 1. (input)
- SSAAXXPPYY: Real array.
- DDAAXXPPYY: Double precision array.
- CCAAXXPPYY: Complex array.
- ZZAAXXPPYY: Double complex array.
- Contains the vector to be scaled before summation.
-
- _i_n_c_x Integer. (input)
- Increment between elements of _x. If _i_n_c_x = 0, the results
- will be unpredictable.
-
- _y Array of dimension (_n-1) * |_i_n_c_y| + 1. (input and output)
- SSAAXXPPYY: Real array.
- DDAAXXPPYY: Double precision array.
- CCAAXXPPYY: Complex array.
- ZZAAXXPPYY: Double complex array.
- Before calling the routine, _y contains the vector to be
- summed. After the routine ends, _y contains the result of
- the summation.
-
- _i_n_c_y Integer. (input)
- Increment between elements of _y. If _i_n_c_y = 0, the results
- will be unpredictable.
-
- NNOOTTEESS
- These routines are Level 1 Basic Linear Algebra Subprograms (Level 1
- BLAS).
-
- When working backward (_i_n_c_x < 0 or _i_n_c_y < 0), each routine starts at
- the end of the vector and moves backward, as follows:
-
- _x(1-_i_n_c_x * (_n-1)), _x(1-_i_n_c_x * (_n-2)), ..., _x(1)
-
- _y(1-_i_n_c_y * (_n-1)), _y(1-_i_n_c_y * (_n-2)), ..., _y(1)
-
- RREETTUURRNN VVAALLUUEESS
- When _n <= 0, real _a_l_p_h_a = 0., or complex _a_l_p_h_a = 0 = 0.+0._i, these
- routines return immediately with no change in their arguments.
-
- SSEEEE AALLSSOO
- This man page is available only online.
-